package com.yeyks.hotel.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 酒店每天结算明细表
 *
 * @author shuai
 * @date 2019-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="HotelAccountDayBill对象", description="酒店每天结算明细表")
public class HotelAccountDayBill implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "酒店ID")
    @TableField("hotel_id")
    private Integer hotelId;

    @ApiModelProperty(value = "营业额金额")
    @TableField("turnover_amount")
    private Integer turnoverAmount;

    @ApiModelProperty(value = "公司佣金金额")
    @TableField("fee_amount")
    private Integer feeAmount;

    @ApiModelProperty(value = "酒店可提现金额")
    @TableField("available_withdrawal_amount")
    private Integer availableWithdrawalAmount;

    @ApiModelProperty(value = "创建日期")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新日期")
    @TableField("modify_time")
    private Date modifyTime;


    public static final String ID = "id";

    public static final String HOTEL_ID = "hotel_id";

    public static final String TURNOVER_AMOUNT = "turnover_amount";

    public static final String FEE_AMOUNT = "fee_amount";

    public static final String AVAILABLE_WITHDRAWAL_AMOUNT = "available_withdrawal_amount";

    public static final String CREATE_TIME = "create_time";

    public static final String MODIFY_TIME = "modify_time";

}
